﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style6
    {
        width: 100%;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
<br />   
    <asp:Label ID="Label1" runat="server" CssClass="login_text" ForeColor="White" 
    Text="San Pham Moi"></asp:Label>
<br />
<br />
<asp:DataList ID="DataSanPhamMoi" runat="server" CellPadding="10" 
    RepeatColumns="5">
    <ItemTemplate>
        <table class="style6">
            <tr>
                <td align="center">
                    <asp:Label ID="TenSanPham" runat="server" Text='<%# Eval("TenSanPham") %>' 
                        Font-Bold="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                  <asp:HyperLink ID="HyperLink1" runat="server" 
                        NavigateUrl='<%# "../" + "Details.aspx?itemID=" + Eval("ID") %>'><img border="0px" src='<%# "../" + Eval("Hinh") %>' width='112px' height='101px' /></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="left" class="login_text" 
                    style="color: #FFFFFF; font-size: 11pt; font-weight: bold;" height="11 pt" 
                    valign="bottom">
                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("DonGia") %>' 
                        Font-Size="11pt"></asp:Label>
                    $
                    <asp:HyperLink ID="Gio" runat="server" ImageUrl="~/images/index_56.gif" 
                        NavigateUrl='<%# "../" + "Cart.aspx?itemID=" + Eval("ID") %>' 
                        Font-Overline="False" ToolTip="Them vao gio" CssClass="bottom" 
                        Height="20px"></asp:HyperLink>
                </td>
            </tr>
            
        </table>
    </ItemTemplate>
</asp:DataList>
<br />
<asp:Label ID="Label4" runat="server" Text="San Pham Ban Chay" 
        CssClass="login_text" ForeColor="White"></asp:Label>
<br />
<br />
<asp:DataList ID="DataSanPhamBanChay" runat="server" CellPadding="10" 
    RepeatColumns="5">
    <ItemTemplate>
        <table class="style6">
            <tr>
                <td align="center">
                    <asp:Label ID="TenSanPham" runat="server" Text='<%# Eval("tensanpham") %>' 
                        Font-Bold="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                  <asp:HyperLink ID="image2" runat="server"  
                        NavigateUrl='<%# "../" + "Details.aspx?itemID=" + Eval("ID") %>'><img border="0px" src='<%# "../" + Eval("Hinh") %>' width='112px' height='101px' /></asp:HyperLink>
                   
                </td>
            </tr>
            <tr>
                <td align="right" class="login_text" 
                    style="color: #FFFFFF; font-size: 11pt; font-weight: bold;" height="11pt">
                    <asp:Label ID="Label6" runat="server" Text='<%# Eval("DonGia") %>'></asp:Label>
                    $
                    <asp:HyperLink ID="Gio" runat="server" ImageUrl="~/images/index_56.gif" 
                        NavigateUrl='<%# "../" + "Cart.aspx?itemID=" + Eval("ID") %>' 
                        Height="20px">[Gio]</asp:HyperLink>
                </td>
            </tr>
            
        </table>
    </ItemTemplate>
</asp:DataList>
<br />
    <asp:Label ID="Label7" runat="server" CssClass="login_text" ForeColor="White" 
        Text="San Pham Yeu Thich"></asp:Label>
<br />        
<br />
    <asp:DataList ID="DataSanPhamYeuThich" runat="server" CellPadding="10" 
        RepeatColumns="5">
        <ItemTemplate>
            <table class="style6">
                <tr>
                    <td align="center">
                        <asp:Label ID="TenSanPham" runat="server" Text='<%# Eval("tensanpham") %>' 
                            Font-Bold="True"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                     
                        <asp:HyperLink ID="image3" runat="server"  
                        NavigateUrl='<%# "../" + "Details.aspx?itemID=" + Eval("ID") %>'><img border="0px" src='<%# "../" + Eval("Hinh") %>' width='112px' height='101px' /></asp:HyperLink>
                   </td>
                </tr>
                <tr>
                    <td class="login_text" 
                        style="color: #FFFFFF; font-size: 11pt; font-weight: bold;">
                        <asp:Label ID="Label9" runat="server" Text='<%# Eval("DonGia") %>'></asp:Label>
                        $ <asp:HyperLink ID="Gio3" runat="server" ImageUrl="~/images/index_56.gif" 
                            NavigateUrl='<%# "../" + "Cart.aspx?itemID=" + Eval("ID") %>' 
                            Height="20px">Gio</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <br />
    <asp:Label ID="Label6" runat="server" Text="San Pham Dang Khuyen Mai" 
            CssClass="login_text" ForeColor="White"></asp:Label>
    <br />
    <br />
    <asp:DataList ID="DataSanPhamKhuyenMai" runat="server" CellPadding="10" 
        RepeatColumns="5">
        <ItemTemplate>
            <table class="style6">
                <tr>
                    <td align="center">
                        <asp:Label ID="TenSanPham" runat="server" Text='<%# Eval("tensanpham") %>' 
                            Font-Bold="True"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                    <asp:HyperLink ID="image2" runat="server"  
                           NavigateUrl='<%# "../" + "Details.aspx?itemID=" + Eval("ID") %>'><img border="0px" src='<%# "../" + Eval("Hinh") %>' width='112px' height='101px' /></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="login_text" 
                        
                        style="color: #FFFFFF; font-weight: bold; ">
                        <asp:Label ID="Label6" runat="server" Text='<%# Eval("DonGia")+ "$" %>' 
                            Font-Strikeout="True" Font-Size="9pt"></asp:Label>
                    
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("IDgiamgia")+ "$"%>' Font-Size="11pt"></asp:Label>
                        
                        <asp:HyperLink ID="Gio4" runat="server" ImageUrl="~/images/index_56.gif" 
                            NavigateUrl='<%# "../" + "Cart.aspx?itemID=" + Eval("ID") %>' 
                            Height="20px"></asp:HyperLink>
                        </td>
                </tr>
                
            </table>
        </ItemTemplate>
    </asp:DataList>
    <asp:HyperLink ID="linkspKhuyenMai" runat="server" NavigateUrl="../ResultList.aspx?name=khuyenmai" ForeColor="White" Font-Underline="False">Xem tat ca...</asp:HyperLink>
    <br />
</asp:Content>

